package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.entity.NursingLevel;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NursingLevelMapper {
    List<NursingLevel> selectList();

    Page<NursingLevel> selectByPage(String name, Integer status);

    int insert(NursingLevel nursingLevel);

    NursingLevel selectById(Integer id);

    int update(NursingLevel nursingLevel);

    int deleteById(Long id);

    void updateStatusById(Long id, Integer status);
}
